package lero.pojo;

import java.util.List;

/**
 * 作者: lero
 * 日期：2018/7/12
 */

public class Author {
    private int id;
    private String type; //权限种类：0:不需要权限，1：菜单权限，2：按钮权限
    private String title;//
    private String url; //权限资源路径
    private Author parent; //父权限
    private List<Author> children;//子权限


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Author getParent() {
        return parent;
    }

    public void setParent(Author parent) {
        this.parent = parent;
    }

    public List<Author> getChildren() {
        return children;
    }

    public void setChildren(List<Author> children) {
        this.children = children;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
